package com.yilife.hmstr.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 
 * 十二经络的变化分析
 * @author dede
 *
 */
@SuppressWarnings("serial")
@TableName(value="meridian_change_analysis")
public class MeridianChangeAnalysis extends Model<MeridianChangeAnalysis>{
	/**
	 * 主键
	 */
	@TableId(value="mca_id")
	private long mcaId;
	
	/**
	 * 主键
	 */
	@TableField(value="tr_id")
	private long trId;
	
	/**
	 * 序号
	 */
	@TableField(value="serial_number")
	private int serialNumber;
	
	/**
	 * 经络变化
	 */
	@TableField(value="meridian_change")
	private String meridianChange;
	
	/**
	 * 提示疾病
	 */
	@TableField(value="prompt_disease")
	private String promptDisease;

	public MeridianChangeAnalysis() {
		super();
	}

	public MeridianChangeAnalysis(long mcaId, long trId, int serialNumber, String meridianChange, String promptDisease) {
		super();
		this.mcaId = mcaId;
		this.trId = trId;
		this.serialNumber = serialNumber;
		this.meridianChange = meridianChange;
		this.promptDisease = promptDisease;
	}

	public long getMcaId() {
		return mcaId;
	}

	public void setMcaId(long mcaId) {
		this.mcaId = mcaId;
	}

	public long getTrId() {
		return trId;
	}

	public void setTrId(long trId) {
		this.trId = trId;
	}

	public int getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(int serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getMeridianChange() {
		return meridianChange;
	}

	public void setMeridianChange(String meridianChange) {
		this.meridianChange = meridianChange;
	}

	public String getPromptDisease() {
		return promptDisease;
	}

	public void setPromptDisease(String promptDisease) {
		this.promptDisease = promptDisease;
	}
	
	@Override
	public String toString() {
		return "MeridianChangeAnalysis [mcaId=" + mcaId + ", trId=" + trId + ", serialNumber=" + serialNumber
				+ ", meridianChange=" + meridianChange + ", promptDisease=" + promptDisease + "]";
	}

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return this.mcaId;
	}
	
}
